/** * This file was auto-generated by Fern from our API Definition. */ /** * @example * { * grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer", * assertion: "eyLhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaXNzIjoiY29tcGFueSIsImV4cCI6MTYxNTE5MzgwNywiaWF0IjoxNjE1MTY1MDQwLCJhdWQiOiKzb21lYXVkaWVuY2UifQ.4pcPyMDQ9o1PSyXnrXCjTwXyr4BSezdI1AVTmud2fU3" * } */ export interface V1GetAuthTokenRequest { /** Grant type of the request. Set this to `urn:ietf:params:oauth:grant-type:jwt-bearer`. */ grant_type: string; /** User-signed JWT token that contains the following fields:
*/ assertion: string; /** Subject token. */ subject_token?: string; /** Subject token type. */ subject_token_type?: string; /** Token use type. Either `delegation` or `impersonation`. */ requested_token_use?: string; /** Subset of available roles to associate with the requested token. Uses the format "role:\ role:\". */ scope?: string; }